<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
    <script src="../js/httpVueLoader.js"></script>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="../plugins/elementui/index.css">
    <!-- 引入组件库 -->
    <script src="../plugins/elementui/index.js"></script>
    <link rel="stylesheet" href="../font-awesome-4.7.0/css/font-awesome.min.css">
    <script src="../js/axios-0.18.0.js"></script>
    <script src="../js/vue-router.js"></script>
</head>
<body>
<div id="app">

</div>
<script>
    var test = httpVueLoader("../vues/test.vue");

    // 将外部加载的 vue 注册为 vue 的组件。
    new Vue({
        render: (h) => h(test)
    }).$mount("#app");
</script>


</body>
</html>
